created else to reload form

created else to reload form if variables do not exist in URL