Rectifies problem of no success message displayed