adding admin functionalities