login as user and redirect to home
fixed conflict