fixes issue where admin his own user profile would not save rank, flushes rewrite rules on plugin activation