Added is_authenticated.