Alert messages mechanism (for login as of now)