UserRepository & Lib Folder

Added a interface for the controller.