Added methods to user_repository for riak