moved check login status function to the router
progress bar working upon login
Merge pull request #3 from dtothefp/progressbar-refactor

Progressbar refactor