Removed ".index" from route-paths. This is not necessary.
Also fixed small mistake in LoginRoute.