added tests for logout and navbar