new feature to add, and fix the bug : first login will failure