fixes 500 error in session#create if params are missing