MBA implemented login and logout buttons in index