changed location of userSerivce.username definition