front-end update

1. add login page and related controller code.
2. Try to deploy resource, not success, will do it later.