Add button to toggle Teacher status, fix console error