Added support for anonymous users.