remove debug statements, show errors
Don't show leave button for users who can't leave a project