added the forcedRedirect clause in the profile.php file also