Changed view to use shared layout to prevent duplicate script and css declarations