log in interaction work