Modified LoginController to remove the redirect session attribute after successful login.