Added bcrypt, implemented safe passwords and user sessions.