added validations and included the twitter bootstrap elements