Implemented login/logout, passed RSpec test