Implemented Repository and re-factoring userservice and usercontroller