added flash alerts for invalid user search & invalid username in params