Updated some routes and partials. Also checks and redirect are added.