added validations
configurated controller
modified views and added some css