Removed unused debugging code from login function.
Fixed problem that prevented to create new peer definitions with a correct level of "hits" for the references and users collection processes.