added groups and pg gem in gemfile before pushing to heroku