delete buttons removed when logged out and auto refreshing