diff --git a/pkg/errors.go b/pkg/errors.go
index <HASH>..<HASH> 100644
--- a/pkg/errors.go
+++ b/pkg/errors.go
@@ -8,6 +8,8 @@ import (
 var (
 	ErrNotFound       = errors.New("Not found")
 	ErrInvalidPayload = errors.New("Invalid payload")
+	ErrUnauthorized   = errors.New("Unauthorized")
+	ErrForbidden      = errors.New("Forbidden")
 )
 
 func WriteError(w http.ResponseWriter, err error) {
@@ -19,6 +21,14 @@ func WriteError(w http.ResponseWriter, err error) {
 		LogError(err, http.StatusBadRequest)
 		http.Error(w, err.Error(), http.StatusBadRequest)
 		return
+	} else if err == ErrUnauthorized {
+		LogError(err, http.StatusUnauthorized)
+		http.Error(w, err.Error(), http.StatusUnauthorized)
+		return
+	} else if err == ErrForbidden {
+		LogError(err, http.StatusForbidden)
+		http.Error(w, err.Error(), http.StatusForbidden)
+		return
 	}
 	LogError(err, http.StatusInternalServerError)
 	http.Error(w, err.Error(), http.StatusInternalServerError)
pkg: support more error responses