fix some help
add login to mainloop. fix number bug