Fixing Login index