convert users controller to use resources.

Signed-off-by: crynobone <crynobone@gmail.com>