created sessions controller and added routes and changed them to resources...