fix login and renaming