added loggedInUser view and template and added missing files