update loging and add activity log page