Created the require_rank decorator for requiring a certain rank to access certain areas of the site. Seems to work okay