A conditional redirect statement
This function does not take any arguments
This method is not used in UserSpice. It can, however be useful. It's a quick way of saying if a user is not logged in, they should be redirected to a certain page. Other functions such as securePage (which will fail on private pages if a user is not logged in) and $user->isLoggedIn are probably preferable.