conditional rendering for registration period