Implement ban reason

and some cleanup