added get method in User