Added support for a login box in the top nav bar

Also added a separate test to demonstrate login box in place of search box

This is my first pull request on github, so I apologize if I messed something up.