loggin completed with err mgs