Change avatar image at the header, fixed the error message of login form