Refactored login, added page object