changed permissions for SQLJob and for EhlersApp login
Modified error handling