Service-Oriented Architecture for Authentication in Ruby