Non crud repository for user retrieval and fix for testing infrastucture