Neha | handling 404 not found exception
Neha | addded tests. changed datetime to timestamp in database schema.