Some changes to controllers pertaining to admin detection