fixed problem of user login state not being shared across different partials