add keywords and made them render and also made if else statement for logged out separate public search page