The login page redirects to the good page after synchronizing 

Relative issue: node-smile-server/#39
The login page redirects to 'choose activity flow' or 'general activity' after synchronizing with the server