Updated methods in user controller for riak