login box error handling
login sequence works now