Refactored login form to use form_tag convention
Refactoring tests