improved user login and sign up, close #17