added a bit of styling and a few more validations