fixes reloading problem on all users search page.
Merge pull request #24 from ror-final-project/working

fixes reloading problem on all users search page.