try header relocation, better than the js way as it whisks you away b4 the page is output.
so, a quick eg.
say the user has logged in, and their username is in $user
Header("Location: user_$user.html");
so if the user is golfp, this code
would relocate the user to user_golfp.html
NOTE: the header function must be run b4 any out put to the browser occurs
hope this helps