changed the Log in to authenticate user provided data