Changed from couchbase to postgres. Implemented user-account registration