if there's a problem logging in, return to the login page
Merge pull request #1 from MayOneUS/error_handle

if there's a problem logging in, return to the login page