Added functions for hashing and validating passwords, updated views to handle a request from registration to persist to PostgreSQL, and updated database init script to handle local and remote (heroku) setup.