Added user database, password salt gen and hashing, authentication, and sessions.