Mapping for the user registration and added dependencies for hibernate in pom