updated to autload bcrypt functions and composer def