changed database connection from 127.0.0.1 to localhost