Adds annotations to entities
Refactoring REST services
Added beans.xml file
Fixed getting user from database