display successful or unsuccessful login message