adding simple error handeling to qstat
correct error message
avoid chrome error upon login