changed production db to pg, added devised gem