added login logout again