added required fields to user class