log out button functional
login works finally