fixed log in with new operation