Added phpDoc and fixed minor bug with regard to LogoutStore