Changed buttons,added logout buttons