updated logic to remove repeating code
sticky search field
deleted active record comments