adds more user login functionality