Encorporated registering into session controller. SessionController is respoonsible for all CRUD operations