debugging now working also + adding registeruser