improved logic controller
added anonymous passport logic