adding logging statements
adding health_check