added redirection in bookFail and bookSuccess

redirect to main page after 3 secs