add redirect file in user.php in controller, add some setting in session