added user login, still need to check user exists and create if not.