Added pg and rails_12 factor gems for Heroku deployment
Added authenticate method to application controller