Fixed a few bugs, namely add_role