adding legend, adding messages, handling case if search user has no location