refactoring changes

refactored Home controller to organize database calls. Changed
javascript to use proper return values from registration. Removed old
connection strings from web.config