Removed unneccessary function from user repo