to delete a post from database

Delete option only shown to that users who are logged in...