(#356) Close registration on frontend.

Closes #357.