1) Redirect to home page if response is "OK".
2) If there is any error show message on login page.

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