using user class