Added code for user mass assignment