added and styled debug messages in html output only in dev mode
finish user signup