transferred Letter and User classes to Hibernate and added src/main/resources/META-INFO/persistence.xml file