Added session info, password hashing, and general login functionality.