Added json anotation to entities models, to exclude some fields in serialization process.
Adapted login and registerUser method to Play controller