Added sessions controller in preperation for moving all session
management logic into it.