some changes
User model done (registration and authentication)