Error message added in log in