fixed bug caused by lack of @ for local variable
Merge pull request #12 from jsum528/error_handling

added error handling for both signup and login