Added error for invalid login credentials.