add a logged in helper