moved login functionality to separate activity