add check if the user is logged in to sGMS
Merge branch 'ubuntu-12.04' of github.com:genome/gms into ubuntu-12.04