fixed redirect on user.php for when users are not logged in