Corrected a few errors in view folder and routed the root and dashboard