Redirect user depending on their session