login logout is working