search user function
before layout attempt