disable registration and hide login