created user registration and authentication system