Login form with response in ajax manner.

Signed-off-by: cocolekat <cocolekat@gmail.com>