Changed Authenticate User to Basic Functions