Call to_json and to_xml explicitly
User instance has it's own formatting methods
Refactor controller and user