Changed database.yml to localhost and re-routed homepage