added edit and add new admin functionality