If the api receives a user not signed in error automatically redirect to the login view.... This could be done in the error dialog class.