added devise config and pg for production