Isolated the authentication on server side into one module
Fixed the fading between pages