fix add_badge, add user login page