started login method for user