remove unnessary case in sessionControllerå