authenticate
fix authenticate