added log logger
added file object copy
serious refactoring of password entry