If options[:authorized_users] is a regex, it will authorize based on the match

Removed question mark for user_authorized? var

Uses is_a? instead of .class