major cleanup of login files