Optimized the Login formular