logout is implemented