fixed all() in user class