Added redirection error alert.
Added promises to detail view.