Completed shutdown in login and main page
Merge branch 'master' of https://github.com/7h0m4s/Primate