login clean-up