fixed issue where username and info wasn't being saved before ui responded