adding user registrations and authentications