creates sessions controller