Added empty form handler