closed registration and user removal functions