fixing edit and delete buttons in home page