Fixed index to include the login pointer.