addes class name to login and logout buttons