adding error proof to login passport-local