add log in check