added "register" and "login" ,but have not been finished