handle all 401 responses and reset the session
add some sign in form validation