edit and delete buttons now showing when logged in and starting to introduce modal