Reworked exception handling for creating a session in the API.
Reworked exception handling for creating a session in the API.

cloudsdaleapp/cloudsdale-web,cloudsdaleapp/cloudsdale-web,cloudsdaleapp/cloudsdale-web,cloudsdaleapp/cloudsdale-web