mid-week, can't sign in

I can't sign in with this code. The session and flash become nil after redirect. every is good when registering.