UsersController: add catch for db errors