Index logging in with directLogin. Still needs form typo checkings