fix invite accepting, clean up front page
editing sheets now updates database