hiding login panel on submit