Move development port to 6542
Small bugfixes to userdb