use the configured username
reject unless a username is set
improve user html
set the user correctly this time
much better
break out and consolidate
show the relevant info on the frontend
handle status code from remote script