Frontend script now includes 'username'