log in and import fixes