add default value to alerts and msg on first_login
added substring search support