Added pg to gemfile
Fixed error in view and updated readme file