Clear session before redirect