Refactored create method in sessions controller