small edits in user class