fixes comments and adds bcrypt for has_secure