fix login issue and default user display