update the way to save username