adding sql file to repo and test the how to register when controller doesn't use default constructor