add login

add login code ,but have no UI