front-end register and login nearly finish(many detail need to complete), controller finish login