Cant get username value to get data function