A simple user authentication example from the Smashing Node book by Guilermo Rauch