log in clean up