Fixed Router initialized before User logged in.

Caused the bug that deep links wouldn't be handled correctly, since the Router tried to move pages while there are no pages. After login the Router won't reload, so the Router will be initialized after Login.