BUG: Fixes #730 stop admins removing admin permission from there own logins

BUG: Fixes #730 improving how admin permission removal warnings work

BUG: Removing unused lines of code with undefined variable

NEW: Unit test for alert warning for admin removing their own admin permission