Fixed the user controller

This relates to: https://github.com/voceconnect/thermal-api/issues/73 and completes it