added a new div to the account template so that accounts are only loaded if a user is logged in