bugfixes logout and changed nodejs to localhost