ask server to redirect to root page when logging in the user