added Guard and changed dev db to Postgres