Added SPA basics for index page. Added profile view.