updated the create method in the sessions controller