[bug 1045982] Added permissions for using the api.
[bug 1045982] Added system for banning users.