corrected server-side username bug