Added handling for session connection failure

A toast will now be displayed to the user when they cannot connect to
the server.