Prototype of a simple Rails authentication service