cleaned up buggy import in api models
removed http from redirect instruction. prefix is already stored in the models.