timing of setting username changed

now when you’re sending sty to the database for the first time