added som styling and more code in the views