Simplified usersController, extracted methods to server root file