Remove unecessary code in the sessions controller