renamed error to login_error.
added a few more tests, cleaned controller.
Merge pull request #41 from jjlee5266/validations

renamed error to login_error.