A user authorization tool in Ruby