working login not logout

probs with session