Testing if user session is set before rendering tabs