added attributes to user model and updated schema