fixed ajax function name.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
update user login controller.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>