added methods to be implemented into user repository