Added admin functionalities

Some still need to be fixed