Fixed admin functionalities.