Corrected minor mistake in invalid tests
Got functions set up to work properly
Wrote validation for Name and Password