minor changes in authentification, trying to figure out why user sign up doesn' twork