done with adding immediate cases. also fixed logout redirect for mobile