1. Added exception handling for REST database interaction
2. Added 404 page support when cloud services are down