Add /logged_in route to check if the user is authenticated