fixed issue with unsaved user and password