create the sessions controller