added bcrypt, ssl and fixed encryption.