added search and profile pages