added error message on login if the proxy is unavailable

moved is user logged in check into service method and have ctr-index call it
if it fails to find the proxy -> the proxy is down
else continue as before
Merge pull request #31 from Rise-Vision/feature/display-error-if-proxy-unavailable

added error message on login if the proxy is unavailable