- Added login method