fixed to run with peer authentication!