i added a def that checks if the user is admin to be able to hide post
added my diagram for commenting