adds validation to several input fields and also tweaks responsive style