add in logging for logged in user