Devise extension for G5 authentication server