Added validators to view page and fixed a few small things.