medic sign up conditional funtionality