Fix and refactor methods in database class. Add sites addition with unique code.
Refactor user flow helpers
Add expectations to signup_and_signin method
Move helper methods to application class
Add database class to reloader. Refactor method names that return true/falso. Changed some views stuff for root.erb.
Change unless statement to until when creating unique code
Add test and solution to prevent a user not logged in from creating a site
Refactor and add tests for site addition. Add helpers for site testing.
Add tests to validate user sign up.
Code to validate site url.
Add validations for signup on email and password.
Started refactoring
Merge pull request #16 from DevanB/sites

Fix and refactor methods in database class. Add sites addition with unique code