added user class and order method