I think this is not necessary anymore since this functionality is in the sessions controller (both the create and destroy actions).