Implemented login for Android