A devise extension for remote user authentication