Implementation of user repository