added check_terms_agreement to accounts app