more layout work, added form validations and error handling via displaying messages.