removing redundant code on add_user