add loggin framework