Added login functionality.  Added tests for add and search pages.  Fixed tests for register page.