Removed SALT_KEY from config.py since it is more securely handled by bcrypt out of the box. Removed hashlib.sha512 in favor of bcrypt for encrypting the password. Removed random.choice in favor of uuid.uuid4 for generating tokens.