Made variables private in user class