Deciding whether request if for 'Search' or for 'Generating Resgiter'.