fixing datbase.yml
adjusted config file to fix localhost running problems