building firebase user search and data structuring funcitonality