Add username for log in and in preferences edition