Return index on login if not successful