Changed the controller classes to support IDatabase instances, new test,

the controllers now do not use a hardcoded database, the validate user
controller test now incorporates another test with the addusercontroller
that emulates what will happen when a new user fills out the fields then
clicks the new button, followed by clicking the log in button
added a basic home page class that will contain routes to the features
very small changes