Added all the functionalities to the admin.