re add repository in user controller