An authentication module for the Revel framework