Updated the connect method to connect to heroku database