Added a sessions controller. Now supports persistent sessions.